<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>消息发送</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    

    <style>
        /* 改变layui选择框的背景颜色和字体颜色 */
        .layui-form-select dl dd.layui-this {
            background-color: #1E9FFF;
            color: #dcdfe6;
        }
       
    </style>
</head>

<body>
    <!-- 导航面包屑 -->
    <div class="x-nav" style="border-bottom: 1px solid #e5e5e5;padding: 0 20px;line-height: 39px;height:39px">
        <span class="layui-breadcrumb" style="font-size: 6px!important;padding-left: 10px;color: #999;">
            <a href="#">首页</a>
            <a href="#">演示</a>
            <a><cite>导航元素</cite></a>
        </span>
        <a class="layui-btn layui-btn-sm"
            style="line-height:1.6em;margin-top:3px;float:right;background-color: rgba(30, 159, 255, 0.76) !important;border-radius: 4px;"
            onclick="location.reload()" title="刷新">
            <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
    </div>

    <div id="app" style="margin-top: 30px;width: 1000px;">
        <form class="layui-form" id="sendForm">
            <div class="layui-form-item">
                <label class="layui-form-label"><span style="color: red;">*</span>标题</label>
                <div class="layui-input-block">
                    <input type="text" id="title" required lay-verify="required" placeholder="请输入标题"
                        autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label"><span style="color: red;">*</span>文本域</label>
                <div class="layui-input-block">
                    <textarea id="content" placeholder="请输入内容" class="layui-textarea" style="height: 300px;"></textarea>
                </div>
            </div>

            <div class="layui-form-item" style="width: 400px;">
                <label class="layui-form-label"><span style="color: red;">*</span>接收人</label>
                <div class="layui-input-block">
                    <select id="receiveUserName" lay-filter="receiveUserName" lay-search>
                        <option value="">请选择</option>
                        <!-- <option v-for="(u,i) in users" v-bind:value="u.userName">{{u.userName}}</option> -->
                    </select>
                </div>
            </div>
            <div class="layui-form-item" style="margin-left: 110px;">
                <div class="layui-inline">
                    <input type="button" class="layui-btn layui-btn-normal" value="发送" @click="send" style="border-radius: 5px;">
                </div>
                <div class="layui-inline">
                    <input type="reset" class="layui-btn layui-btn-primary" value="重置" style="border-radius: 4px;">
                </div>
            </div>
            

        </form>
    </div>

    
    <script src="../js/jquery-1.12.4.min.js"></script>
    <script src="../js/Vue.js"></script>
    <script src="../layui/layui.js"></script>
    <script src="../layer/layer.js"></script>
    <script src="js/over/message_add.js"></script>
</body>

</html>